phpseclib3\Net\SSH2 D

Total Complexity 704
Dependencies 38
Dependents 2
Total lines 4,844
Lines of code 2,682
Logical lines of code 1,711
Comment lines 823
Methods 100
Properties 103

Methods 100

Method Rating Maintainability Complexity Lines of code
key_exchange()
D
6
86 433
get_channel_packet()
D
23
50 166
get_binary_packet()
D
21
44 197
filter()
D
28
35 125
send_binary_packet()
D
29
34 116
sublogin()
D
36 32 77
login_helper()
C
29 28 126
connect()
C
32 28 96
encryption_algorithm_to_key_size()
C
45 27 37
privatekey_login()
B
32 20 110
encryption_algorithm_to_crypt_instance()
B
45 24 39
getServerPublicHostKey()
B
39 19 66
read_remaining_bytes()
B
44 19 38
keyboard_interactive_process()
B
39 16 62
append_log_helper()
A
40 14 60
setPreferredAlgorithms()
A
39 13 69
getSupportedEncryptionAlgorithms()
A
40 13 66
exec()
A
40 12 68
mac_algorithm_to_hash_instance()
A
51 14 25
read()
A
46 13 36
generate_identifier()
S
56 6 19
write()
S
58 6 16
login()
S
58 6 15
openShell()
S
47 4 41
openChannel()
S
53 5 22
disconnect_helper()
S
58 5 14
getLog()
S
59 5 14
format_log()
S
52 4 22
stream_select()
S
57 4 16
close_channel()
S
58 4 15
ping()
S
59 4 15
send_channel_packet()
S
54 3 22
requestAgentForwarding()
S
56 3 20
bad_algorithm_candidate()
S
66 4 9
get_open_channel()
S
64 4 9
__construct()
S
61 3 12
startSubsystem()
S
56 2 19
close_channel_bitmap()
S
66 3 9
disconnect()
S
68 3 7
isConnected()
S
77 3 3
updateLogHistory()
S
65 3 9
getConnections()
S
64 3 10
array_intersect_first()
S
67 3 8
get_interactive_channel()
S
66 3 10
reset()
S
68 3 8
ssh_agent_login()
S
64 3 10
getAlgorithmsNegotiated()
S
55 1 22
getSupportedKEXAlgorithms()
S
57 1 19
getServerAlgorithms()
S
57 1 19
getSupportedMACAlgorithms()
S
59 1 17
stopSubsystem()
S
72 2 6
getLastError()
S
70 2 6
on_channel_open()
S
74 2 5
getExitStatus()
S
72 2 6
disablePTY()
S
71 2 6
getSupportedCompressionAlgorithms()
S
67 2 8
getConnectionByResourceId()
S
68 2 7
isInteractiveChannelOpen()
S
79 2 3
is_channel_status_data()
S
78 2 3
reconnect()
S
65 2 9
append_log()
S
63 1 13
keyboard_interactive_login()
S
62 1 13
reset_connection()
S
61 1 12
getSupportedHostKeyAlgorithms()
S
64 1 12
enableSmartMFA()
S
81 1 3
getAuthMethodsToContinue()
S
82 1 3
forceMultipleChannels()
S
81 1 3
getResourceId()
S
79 1 3
setWindowColumns()
S
81 1 3
getWindowRows()
S
82 1 3
setTerminal()
S
81 1 3
sendIdentificationStringLast()
S
81 1 3
getBannerMessage()
S
82 1 3
sendIdentificationStringFirst()
S
81 1 3
setWindowSize()
S
77 1 4
getWindowColumns()
S
82 1 3
setWindowRows()
S
81 1 3
__toString()
S
81 1 3
sendKEXINITLast()
S
81 1 3
sendKEXINITFirst()
S
81 1 3
disableQuietMode()
S
81 1 3
isTimeout()
S
82 1 3
__destruct()
S
82 1 3
isAuthenticated()
S
79 1 3
isShellOpen()
S
80 1 3
isPTYOpen()
S
80 1 3
getInteractiveChannelId()
S
82 1 3
setCryptoEngine()
S
80 1 3
enableQuietMode()
S
81 1 3
isQuietModeEnabled()
S
82 1 3
getServerIdentification()
S
77 1 4
enablePTY()
S
81 1 3
isPTYEnabled()
S
82 1 3
getOpenChannelCount()
S
82 1 3
getStdError()
S
82 1 3
setKeepAlive()
S
81 1 3
setTimeout()
S
80 1 3
getTimeout()
S
82 1 3
getErrors()
S
82 1 3
disableSmartMFA()
S
81 1 3